[INFO] cloning repository https://github.com/adumbidiot/windgi-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/windgi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fwindgi-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fwindgi-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c56cf9149bc88de1ac9bcbac0f222cc2a6ffe646
[INFO] building adumbidiot/windgi-rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fwindgi-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adumbidiot/windgi-rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/adumbidiot/windgi-rs
[INFO] finished tweaking git repo https://github.com/adumbidiot/windgi-rs
[INFO] tweaked toml for git repo https://github.com/adumbidiot/windgi-rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/adumbidiot/windgi-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1824fa48ca31449092b9ad44f3dc912e4d958258b860310b0a3953cf3895a801
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1824fa48ca31449092b9ad44f3dc912e4d958258b860310b0a3953cf3895a801", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1824fa48ca31449092b9ad44f3dc912e4d958258b860310b0a3953cf3895a801", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1824fa48ca31449092b9ad44f3dc912e4d958258b860310b0a3953cf3895a801", kill_on_drop: false }`
[INFO] [stdout] 1824fa48ca31449092b9ad44f3dc912e4d958258b860310b0a3953cf3895a801
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31a0d3f9a5392b315b1ebc49073c19eeb89c491416be75de7bb77eb32fd64025
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "31a0d3f9a5392b315b1ebc49073c19eeb89c491416be75de7bb77eb32fd64025", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling windgi v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/primitives.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/primitives.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::windef::COLORREF;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/primitives.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::windef::RECT;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/primitives.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::wingdi::RGB;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/primitives.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::wingdi::SRCCOPY;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::windef::COLORREF;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::windef::HBITMAP;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::windef::HBRUSH;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::HDC;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::windef::HGDIOBJ;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::windef::RECT;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::wingdi::BitBlt;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::wingdi::CreateBitmap;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::wingdi::CreateCompatibleDC;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::wingdi::CreateSolidBrush;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::wingdi::DeleteDC;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::wingdi::DeleteObject;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::wingdi::GetDeviceCaps;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::wingdi::GetObjectW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::wingdi::SelectObject;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::um::wingdi::StretchBlt;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::wingdi::BITMAP;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::um::wingdi::HORZRES;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::wingdi::VERTRES;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use winapi::um::winuser::FillRect;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::um::winuser::GetDC;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::um::winuser::ReleaseDC;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/primitives.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Into<RECT> for Rect {
[INFO] [stdout]    |     -     ^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/primitives.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn into(self) -> RECT {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/primitives.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         RECT {
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope
[INFO] [stdout]   --> src/primitives.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl From<COLORREF> for Color {
[INFO] [stdout]    |     -     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<COLORREF>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope
[INFO] [stdout]   --> src/primitives.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn from(color: COLORREF) -> Color {
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope
[INFO] [stdout]   --> src/primitives.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Into<COLORREF> for Color {
[INFO] [stdout]    |     -     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<COLORREF>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope
[INFO] [stdout]   --> src/primitives.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn into(self) -> COLORREF {
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope
[INFO] [stdout]   --> src/primitives.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         RGB(self.r, self.g, self.b)
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/primitives.rs:79:33
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub struct RasterOperation: DWORD {
[INFO] [stdout]    |                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]   --> src/primitives.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 81 |         const SRC_COPY = SRCCOPY;
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/primitives.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Into<DWORD> for RasterOperation {
[INFO] [stdout]    |     -     ^^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/primitives.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn into(self) -> DWORD {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/lib.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct DeviceContext {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `<HWND>`
[INFO] [stdout] 32 |     hwnd: Option<HWND>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]   --> src/lib.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     hdc: HDC,
[INFO] [stdout]    |          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/lib.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub unsafe fn from_hwnd(hwnd: HWND) -> Option<Self> {
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]   --> src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let hdc = GetDC(hwnd);
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]   --> src/lib.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let hdc = unsafe { CreateCompatibleDC(self.hdc) };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]   --> src/lib.rs:68:34
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get_raw_hdc(&self) -> HDC {
[INFO] [stdout]    |                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]   --> src/lib.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         unsafe { SelectObject(self.hdc, object.into().0) }
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl DeviceContext {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 89 |         rop: impl Into<DWORD>,
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]   --> src/lib.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let ret = unsafe { BitBlt(self.hdc, x, y, cx, cy, src.hdc, x1, x2, rop.into()) };
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl DeviceContext {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 106 |         rop: impl Into<DWORD>,
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchBlt` in this scope
[INFO] [stdout]    --> src/lib.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             StretchBlt(
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/lib.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl DeviceContext {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn fill_rect<R: Into<RECT>>(&self, rect: R, brush: &Brush) -> bool {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope
[INFO] [stdout]    --> src/lib.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let ret = unsafe { FillRect(self.hdc, &rect.into(), brush.get_raw()) };
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/lib.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |         unsafe { GetDeviceCaps(self.hdc, HORZRES) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HORZRES` in this scope
[INFO] [stdout]    --> src/lib.rs:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 |         unsafe { GetDeviceCaps(self.hdc, HORZRES) }
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/lib.rs:144:18
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe { GetDeviceCaps(self.hdc, VERTRES) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VERTRES` in this scope
[INFO] [stdout]    --> src/lib.rs:144:42
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe { GetDeviceCaps(self.hdc, VERTRES) }
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/lib.rs:151:22
[INFO] [stdout]     |
[INFO] [stdout] 151 |             unsafe { ReleaseDC(hwnd, self.hdc) }
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/lib.rs:153:22
[INFO] [stdout]     |
[INFO] [stdout] 153 |             unsafe { DeleteDC(self.hdc) }
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stdout]    --> src/lib.rs:160:18
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct Brush(HBRUSH);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope
[INFO] [stdout]    --> src/lib.rs:165:39
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl Brush {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<COLORREF>`
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn create_solid_brush<T: Into<COLORREF>>(color: T) -> Option<Self> {
[INFO] [stdout]     |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stdout]    --> src/lib.rs:168:31
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let handle = unsafe { CreateSolidBrush(color) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stdout]    --> src/lib.rs:179:30
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub fn get_raw(&self) -> HBRUSH {
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             DeleteObject(self.0 as *mut c_void);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/lib.rs:192:22
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct GdiObject(HGDIOBJ);
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/lib.rs:196:33
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let _deleted = unsafe { DeleteObject(self.0 as *mut c_void) };
[INFO] [stdout]     |                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateBitmap` in this scope
[INFO] [stdout]    --> src/lib.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             CreateBitmap(
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/lib.rs:236:47
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Some(BitmapHandle(GdiObject(handle as HGDIOBJ)))
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:240:30
[INFO] [stdout]     |
[INFO] [stdout] 240 |     pub fn get_raw(&self) -> HBITMAP {
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:241:23
[INFO] [stdout]     |
[INFO] [stdout] 241 |         (self.0).0 as HBITMAP
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut bitmap: BITMAP = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectW` in this scope
[INFO] [stdout]    --> src/lib.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct GdiObject(HGDIOBJ);
[INFO] [stdout]     | ------------------------------ similarly named tuple struct `GdiObject` defined here
[INFO] [stdout] ...
[INFO] [stdout] 248 |             GetObjectW(
[INFO] [stdout]     |             ^^^^^^^^^^ help: a tuple struct with a similar name exists: `GdiObject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:250:37
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl BitmapHandle {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<BITMAP>`
[INFO] [stdout] ...
[INFO] [stdout] 250 |                 std::mem::size_of::<BITMAP>() as i32,
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:251:37
[INFO] [stdout]     |
[INFO] [stdout] 251 |                 &mut bitmap as *mut BITMAP as *mut c_void,
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 76 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `windgi`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "31a0d3f9a5392b315b1ebc49073c19eeb89c491416be75de7bb77eb32fd64025", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31a0d3f9a5392b315b1ebc49073c19eeb89c491416be75de7bb77eb32fd64025", kill_on_drop: false }`
[INFO] [stdout] 31a0d3f9a5392b315b1ebc49073c19eeb89c491416be75de7bb77eb32fd64025
